package fr.umlv.galcon.player;

public class Player {
    private final PlayerType playerType;
    private final String name;
    private final int id;

    /**
     * Player constructor.
     * 
     * @param type
     *            : player's type
     * @param name
     *            : player's name
     * @param id
     *            : player's id
     */
    public Player(PlayerType type, String name, int id) {
	this.playerType = type;
	this.name = name;
	this.id = id;
    }

    /**
     * Get the Player's id
     * 
     * @return id
     */
    public int getId() {
	return id;
    }

    /**
     * Get the Player's Type
     * 
     * @return type
     */
    public PlayerType getPlayerType() {
	return this.playerType;
    }

    /**
     * Get the Player's name
     * 
     * @return
     */
    public String getName() {
	return this.name;
    }
}
